﻿using DongFangGuoKai.WMSPlatform.Domain.Models;
using DongFangGuoKai.WMSPlatform.Service.BasicApp.Pallet.DTO;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace DongFangGuoKai.WMSPlatform.Service.BasicApp.Pallet
{
    public interface IPalletService
    {
        bool AddPalletList(AddListPalletDTO addListPalletDTO,out string errMsg);
        List<TPallet> GetPallets(string name, int type, int pageIndex, int pageSize, out int totalCount);

        bool BindPalletCell(BindPalletCellDTO bindPalletCellDTO, out string errMsg);
        bool BindPalletCell2(BindPalletCellDTO bindPalletCellDTO, out string errMsg);
        bool UpdPalletCellCode(string palletCode,string cellCode,out string errMsg);

        /// <summary>
        /// 托盘打印
        /// </summary>
        /// <param name="codes"></param>
        /// <param name="errMsg"></param>
        /// <returns></returns>
        bool PallPrintCount(string[] codes, out string errMsg);
    }
}
